package com.example.studymvvmproject01.bean

class HomeProadBean {

    /**
     * code : 0
     * msg : 成功获取电厂现场人数分类统计
     * data : [
     * {"personCnt":11,"typeCode":"OVERALL"}
     * ,{"personCnt":1,"typeCode":"OVERALL"}
     * ,{"personCnt":0,"typeCode":"STAFF"},
     * {"personCnt":0,"typeCode":"OUTSRC"},
     * {"personCnt":6,"typeCode":"OTHERS"}]
     */
    private var code = 0
    private var msg: String? = null
    private var data: List<DataBean?>? = null

    fun getCode(): Int {
        return code
    }

    fun setCode(code: Int) {
        this.code = code
    }

    fun getMsg(): String? {
        return msg
    }

    fun setMsg(msg: String?) {
        this.msg = msg
    }

    fun getData(): List<DataBean?>? {
        return data
    }

    fun setData(data: List<DataBean?>?) {
        this.data = data
    }

    class DataBean {
        /**
         * personCnt : 11
         * typeCode : OVERALL
         */
        var personCnt = 0
        var typeCode: String? = null
        var name: String? = null
    }

}